<template>
	<view>
		<view class="contenter">
			<view class="billList" @click="charge">
				<view class="title">
					<view class="titText">
						物业费
					</view>
					<view class="titText">
						<button>立即缴费</button>
					</view>
				</view>
				<view class="title">

				</view>
			</view>
			<view class="billList">
				<view class="title">
					<view class="titText">
						水费
					</view>
					<view class="titText">
						<button>立即缴费</button>
					</view>
				</view>
				<view class="title">

				</view>
			</view>
			<view class="billList">
				<view class="title">
					<view class="titText">
						电费
					</view>
					<view class="titText">
						<button>立即缴费</button>
					</view>
				</view>
				<view class="title">

				</view>
			</view>
			<view class="billList" @click="otherFree">
				<view class="title">
					<view class="titText">
						其他费用
					</view>
					<view class="titText">
						<button>立即缴费</button>
					</view>
				</view>
				<view class="title">

				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import context from '../../lib/java110/Java110Context.js';
	export default {
		data() {
			return {
				owners: '',
				bills: ''
			};
		},
		// onLoad(options) {
		// 	this.owners = context.getUserInfo();
		// 	this.bills = this.owners[0].bills
		// 	console.log("业主账单信息", this.bills)
		// },
		methods: {
			charge() {
				uni.navigateTo({
					url: "/pagesB/mineInfoQuery/billQuery"
				})
			},
			// eleFree(bills) {
			// 	uni.navigateTo({
			// 		url: "./billsDetails?bills=" + JSON.stringify(bills)
			// 	})
			// }
		}
	}
</script>

<style lang="scss" scoped>
	.contenter {
		width: 100%;
		height: 100%;
		display: flex;
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}

	.contenter .billList {
		width: 80%;
		height: 240rpx;
		margin: 50rpx 0rpx 0rpx 0rpx;
		border: 1rpx solid #b4aed0;
		border-radius: 10rpx;
		box-shadow: 30rpx;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
	}

	.contenter .billList .title {
		width: 36%;
		height: 150rpx;
	}

	.contenter .billList:nth-child(1) .title:nth-child(1) .titText:nth-child(1) {
		width: 100%;
		height: 90rpx;
		color: #4b68aa;
		font-weight: 600;
		font-size: 40rpx;
		text-align: center;
		line-height: 90rpx;
	}

	.contenter .billList:nth-child(1) .title:nth-child(1) .titText:nth-child(2) {
		width: 100%;
		height: 60rpx;
		line-height: 60rpx;
	}

	.contenter .billList:nth-child(1) .title:nth-child(1) .titText:nth-child(2) button {
		width: 80%;
		height: 50rpx;
		line-height: 50rpx;
		border-radius: 30rpx;
		font-size: 20rpx;
		color: #858e95;
		border: 1rpx solid #d8ecf5;
	}


	.contenter .billList:nth-child(2) .title:nth-child(1) .titText:nth-child(1) {
		width: 100%;
		height: 90rpx;
		color: #4f98a1;;
		font-weight: 600;
		font-size: 40rpx;
		text-align: center;
		line-height: 90rpx;
	}

	.contenter .billList:nth-child(2) .title:nth-child(1) .titText:nth-child(2) {
		width: 100%;
		height: 60rpx;
		line-height: 60rpx;
	}

	.contenter .billList:nth-child(2) .title:nth-child(1) .titText:nth-child(2) button {
		width: 80%;
		height: 50rpx;
		line-height: 50rpx;
		border-radius: 30rpx;
		font-size: 20rpx;
		color: #858e95;
		border: 1rpx solid #d8ecf5;
	}

	.contenter .billList:nth-child(3) .title:nth-child(1) .titText:nth-child(1) {
		width: 100%;
		height: 90rpx;
		color: #8ba5c6;
		font-weight: 600;
		font-size: 40rpx;
		text-align: center;
		line-height: 90rpx;
	}

	.contenter .billList:nth-child(3) .title:nth-child(1) .titText:nth-child(2) {
		width: 100%;
		height: 60rpx;
		line-height: 60rpx;
	}

	.contenter .billList:nth-child(3) .title:nth-child(1) .titText:nth-child(2) button {
		width: 80%;
		height: 50rpx;
		line-height: 50rpx;
		border-radius: 30rpx;
		font-size: 20rpx;
		color: #858e95;
		border: 1rpx solid #d8ecf5;
	}

	.contenter .billList:nth-child(4) .title:nth-child(1) .titText:nth-child(1) {
		width: 100%;
		height: 90rpx;
		color: #8ba5c6;;
		font-weight: 600;
		font-size: 40rpx;
		text-align: center;
		line-height: 90rpx;
	}

	.contenter .billList:nth-child(4) .title:nth-child(1) .titText:nth-child(2) {
		width: 100%;
		height: 60rpx;
		line-height: 60rpx;
	}
	.contenter .billList:nth-child(4) .title:nth-child(1) .titText:nth-child(2) button {
		width: 80%;
		height: 50rpx;
		line-height: 50rpx;
		border-radius: 30rpx;
		font-size: 20rpx;
		color: #858e95;
		border: 1rpx solid #d8ecf5;

	}
</style>
